package edu.ynu.se.xiecheng.repository;

import edu.ynu.se.xiecheng.entity.CameraRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface CameraRecordRepository extends JpaRepository<CameraRecord, Long> {
    List<CameraRecord> findByDeviceIdOrderByRecordTimeDesc(Long deviceId);
} 